//
app.service('z-password-s', [ '$rootScope', '$z-http',function($rootScope, $http) {
	var service = {
			changePassword : function(data,successFn,errorFn) {
				$http.post("user/changepassword.do",$.param(data),{headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'}}).success(function() {
					successFn();
				}).error(function(data) {
					errorFn(data.fault);
				});
			},
	};
	return service;
}]);